<?php
namespace App\Api\Models;

use Illuminate\Database\Eloquent\Model;

class CmcSignIn extends Model
{
    protected $table = 'cmc_signins';

    static public function signInData($data)
    {
        return self::where('uid',$data['uid'])->where('add_time',$data['add_time'])->first();
    }

    static public function signInadd($data)
    {

        return self::insert($data);
    }
}